﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace LdtJudge.DataEngine.Model.UnitModel
{
    public class ConfigurationFileModel
    {
        /// <summary>
        /// 配置顺序
        /// </summary>
        public string Number { get; set; }

        /// <summary>
        /// 模块名称
        /// </summary>
        public string ModuleName { get; set; }

        /// <summary>
        /// 配置类型
        /// </summary>
        public string ExecuteType { get; set; }

        /// <summary>
        /// 配置文件格式
        /// </summary>
        public string ExecuteCode { get; set; }

        /// <summary>
        /// 唯一标识
        /// </summary>
        public string Code { get; set; }

        /// <summary>
        /// 文件路径
        /// </summary>
        public string FilePath { get; set; }

        /// <summary>
        /// 机器学习开关
        /// </summary>
        public string MLFlag { get; set; }

        private List<ConfigNodeModel> _ConfigNodeModelList = new List<ConfigNodeModel>();
        /// <summary>
        /// 配置解析信息
        /// </summary>
        public List<ConfigNodeModel> ConfigNodeModelList
        {
            get { return _ConfigNodeModelList; }
            set { _ConfigNodeModelList = value; }
        }

       private List<ConfigDetail> _ConfigDetailList { get; set; }

        /// <summary>
        /// 配置项
        /// </summary>
        public List<ConfigDetail> ConfigDetailList
        {
            get { return _ConfigDetailList; }
            set { _ConfigDetailList = value; }
        }
        /// <summary>
        /// 配置内容
        /// </summary>
        public string ConfigContent { get; set; }
    }
}
